<template>
  <div>
    <ArticleListAdd :rowData="rowDataTo" :optionType="optionTypeTo"></ArticleListAdd>
</div>
</template>

<script>
import ArticleListAdd from "./ArticleListAdd.vue";
export default {
  name: 'ArticleListEdit',
  components: {ArticleListAdd,},
  props: ["rowData","optionType"],
  data () {
    return {
        rowDataTo: {},
        optionTypeTo: "", //edit或者add
}
  },
  computed: {},
  watch: {},
  created () { 
    console.log("edit===rowData:",this.rowData)
    this.rowDataTo = this.rowData;
    console.log("edit===optionType:",this.optionType)
    this.optionTypeTo = this.optionType
},
  mounted () { },
  methods: {}
}
</script>

<style scoped lang="scss">
</style>
